#ifndef ZLBASE_DATALINK_CDATALINKFACTORY_H_
#define ZLBASE_DATALINK_CDATALINKFACTORY_H_

#include <memory>

#include "IBaseDatalink.h"
#include "zlbase/global.h"

namespace zl
{
namespace zlbase
{
class ZLBASE_API CDatalinkFactory
{
public:
    CDatalinkFactory();
    ~CDatalinkFactory();

    std::shared_ptr<IBaseDatalink> Concreate(const DatalinkOption &opt);
};

}  // namespace zlbase
}  // namespace zl

#endif  // CDATALINKFACTORY_H_